package com.mysteel.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ProjectName: mail
 * ClassName: ThreadPoolConfigProperties
 * Description:
 * date: 2021/03/02/002 9:10
 *
 * @author xiaochao
 */
@Component
@ConfigurationProperties(prefix = "product.thread")
@Data
public class ThreadPoolConfigProperties {
    private Integer corePoolSize;
    private Integer maxSize;
    private Long keepAliveTime;
}
